<?php      
session_start();  
$my_id = $_GET['id'];
$_SESSION['my_id'] = $my_id;
print_r($_SESSION);
?>